import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element'
import './assets/css/global.css'
import './assets/fonts/iconfont.css'
// 导入axios的实例
import './plugins/axios.config'
// 导入表格包
import VueTableTree from 'vue-table-with-tree-grid'
import 'element-ui/lib/theme-chalk/index.css'

// 导入过滤器
import './filter/index'
// 导入富文本编译器
import VueQuillEditor from 'vue-quill-editor'

// 配置富文本编译器的样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

// 挂载
Vue.component('tree-table', VueTableTree)

Vue.config.productionTip = false

// 挂载富文本编译器
Vue.use(VueQuillEditor)

window.vm = new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
